#include <stdio.h>
#include "../include/game.h"

void start_game() {
    printf("游戏开始！\n");
    // 游戏逻辑在这里实现
    printf("游戏结束！\n");
}

void show_game_menu() {
    int choice;
    
    while (1) {
        printf("\n=== 游戏菜单 ===\n");
        printf("1. 开始游戏\n");
        printf("2. 返回主菜单\n");
        printf("请选择: ");
        
        scanf("%d", &choice);
        getchar();
        
        switch (choice) {
            case 1: start_game(); break;
            case 2: return;
            default: printf("无效的选择，请重新输入！\n");
        }
    }
}